<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录界面</title>

</head>
<body>
    <h2>用户登录</h2>
    <h2>
        <div th:text="${SPRING_SECURITY_LAST_EXCEPTION}"></div>
    </h2>
    <form  method="post" th:action="@{/twoLogin}">
        用户名:<input type="text" name="uname">
        密码:<input type="text" name="pword">
        <input type="submit" value="登录">
    </form>

</body>
</html>